import request from '@/utils/request'

export const ReviewService = {
  submitReviews(reviews: any[]) {
    return request.post('/api/reviews/batch', reviews)
  },
  
  getProductReviews(productId: number) {
    return request.get(`/api/reviews/product/${productId}`)
  }
} 